package com.jdym.back.mapper;

import com.jdym.back.entity.Firm;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 企业表 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2021-09-20
 */
public interface FirmMapper extends BaseMapper<Firm> {

    public List<Firm> getAllLoanFirm();

    //    企业用户和银行表的一对一查询
    List<Firm> getLoanFirm(String key);
}
